import store from '@/store'
const permission = {
	bind(el, { value }) {
		const per = store.state.userMenu.authoritys
		if (per.includes(value[0])) {
			el.style.display = 'inline-block'
		} else {
			el.style.display = 'none'
		}
	},
}

export default permission
